package com.kkyy.msystem.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("users")
public class UsersEntity {
    public static final String SESSION_USER_KEY = "_user";

    // 用户身份信息
    @TableId
    private Integer id;
    private String username;
    private String password;
    private String fullname;
    private String mobile;
    private String usertype;
}